package main

import (
	"errors"
	"fmt"
)

//拓展error信息

func main() {
	e := errors.New("origin error")
	w := fmt.Errorf("wrap a new error :%w", e)
	fmt.Println(w)
}
